<?php echo "<"."?php" ;?> 
<? print CoderDocBase::PrintDeclare() ; ?> 


JCAT_Package::ImportClass('JCAT_Controller',JCAT::PACKAGE_MVC) ;

/**
 * <?php print JCAT_Language::SentenceEx( "控制器类", null, null ) ; ?> <?php print $TheDoc->Get('ControllerName') ;?> 
 *
 * @access public
 */
class <?php print $TheDoc->Get('ControllerName') ;?> 
	extends JCAT_Controller 
{

	/**
	 * <?php print JCAT_Language::SentenceEx( "构造函数", null, null ) ; ?> 
	 * 
	 * @access	public
	 * @param	$aParent	JCAT_IController	<?php print JCAT_Language::SentenceEx( "父控制器", null, null ) ; ?> 
	 * @return	void
	 */
	public function <?php print $TheDoc->Get('ControllerName') ;?>(JCAT_IController $aParent=null )
	{
		// 调用父类构造函数
		$this->JCAT_Controller(__CLASS__,$aParent) ;
		
		// <?php print JCAT_Language::SentenceEx( "初始化文档、视图、子控制器", null, null ) ; ?> 
		$this->Initialize() ;
	}

	/**
	 * <?php print JCAT_Language::SentenceEx( "初始化文档、视图、子控制器", null, null ) ; ?> 
	 * 
	 * @access	protected
	 * @return	void
	 */
	protected function Initialize()
	{
		//<<[UnmodifiableBlock.Start]::Message Queue::>>// 
		//<<[UnmodifiableBlock.End]::Message Queue::>>// 
		
		
		$sHere = JCAT_Global::TidyPath( dirname(__FILE__) ) ;
		
		//<<[UnmodifiableBlock.Start]::Initialize Children::>>// 
		//<<[UnmodifiableBlock.End]::Initialize Children::>>// 

		//<<[UnmodifiableBlock.Start]::Register Children Global Name::>>// 
		//<<[UnmodifiableBlock.End]::Register Children Global Name::>>// 
		
		//<<[UnmodifiableBlock.Start]::Set Document To View::>>// 
		//<<[UnmodifiableBlock.End]::Set Document To View::>>// 
		

		// <?php print JCAT_Language::SentenceEx( "在此添加代码", null, null ) ; ?> 
		// TODO ... ... 
	}

	
	/**
	 * <?php print JCAT_Language::SentenceEx( "执行入口函数", null, null ) ; ?> 
	 * 
	 * @access	public
	 * @param	$arrArg=array	array	<?php print JCAT_Language::SentenceEx( "参数", null, null ) ; ?> 
	 * @return	void
	 */
	public function MainRun(array $arrArg=array())
	{
		//<<[UnmodifiableBlock.Start]::Main Run::>>// 
<?php print $TheDoc->CreateCode_MainRun() ;?> 
		//<<[UnmodifiableBlock.End]::Main Run::>>// 

		// TODO
		// ... ...
	}

}

<?php echo "?".">" ;?>